#!/usr/bin/env bash
remoteHost=192.168.161.145
destDir=/home/victor/work/apache-tomcat-7.0.55/webapps/auto-pic
sourceFile=$1

if [ $# != 1 ];then
    echo "source File should not be null"
    exit 1;
fi

echo "source File:"$sourceFile

scp $sourceFile victor@192.168.161.145:/home/victor/work/apache-tomcat-7.0.55/webapps/auto-pic